package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信小程序配置表")
@TableName(value = "wx_program_config")
public class WxProgramConfig {
    @TableId(type = IdType.AUTO)
    private Integer id ;
    @ApiModelProperty("AppID(小程序ID)")
    private String appId;
    @ApiModelProperty("AppSecret(小程序密钥)")
    private String appSecret;
    @ApiModelProperty("支付宝状态  0使用  1不使用  2账号异常")
    private Integer keyStatus ;
//    @ApiModelProperty("openlink")
//    private String openLink ;

    @ApiModelProperty("access_token")
    private String accessToken ;
    @ApiModelProperty("corporation名字")
    private String corporation ;
    @ApiModelProperty("e_mail账号")
    private String eMail ;
//wxe0ac08eb2db2f2c0    eac4d44515cd08ff324603d423f1f38d

}
